package com.pinyougou.sellergoods.service;

import java.util.List;
import java.util.Map;

import com.pinyougou.pojo.TbBrand;

import entity.PageResult;

public interface BrandService {
    List<TbBrand> findAll();
    /*
     * pageNum：当前页
     * pageSize：当前页条数
     * */
    PageResult findByPage(int pageNum,int pageSize);
    
    void addBrand(TbBrand brand);
    
    TbBrand findById(long id);
    
    void update(TbBrand brand);
    
    void deleteById(long[] id);
    
    PageResult search(TbBrand brand, Integer pageNum, Integer pageSize);

    List<Map> selectOptionList();
}
